Skip to content

Conversation

@fchapoton
Copy link
Contributor

and a few other minor details, mostly in hypergm

"""
Compute ``mu`` and ``nu`` given Hodge numbers and signature.
tmp = [[(q(p) - p) / 2.] * int(hodge_index(p)) for p in range((motivic_weight + 1) // 2)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how this code is supposed to be used, but (motivic_weight - 2 * p) / 2 won't have the same type as (motivic_weight - 2 * p) / 2. Did you change this on purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made sure that everything is either a sage integer of a sage rational.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that rational numbers and float don't display the same, and I'm not sure where this is used. Can you track down what webpages these are displayed on, and see if they're currently shown as floats?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue needs to be clarified before we can merge this PR. I'm going to close for now, but am happy to reopen if you address this.

self.check_args("/Motive/Hypergeometric/Q/A6.4.4.3_B12.2.2.2.1", "1 + 6 T - 45 p T^{2} - 2130 p^{2} T^{3} + 268 p^{4} T^{4} - 2130 p^{6} T^{5} - 45 p^{9} T^{6} + 6 p^{12} T^{7} + p^{16} T^{8}")

### motive pages
# ## motive pages
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you inserting spaces in these kinds of comments? I find # ## motive pages a lot less appealing than ### motive pages.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a codestyle suggestion by pycodestyle. Very low priority, of course.

@roed314 roed314 closed this Sep 24, 2025
@fchapoton fchapoton deleted the mu_nu branch September 24, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants